import request from '@/utils/request'
//登录
export async function login(data) {
	return await request.post('/api/user/login', data)
}

export async function commonDelete(url, data) {
	return await request.delete(url, data)
}
export async function commonPost(url, data, isForm) {
	return await request.post(url, data, isForm)
}
export async function commonGet(url, data) {
	return await request.get(url, data)
}
